package com.fable.common.config;

import org.springframework.web.servlet.view.velocity.VelocityLayoutViewResolver;

public class VelocityLayoutViewResolverExt extends VelocityLayoutViewResolver {

	/**
	 * 获取完整的模板路径及文件名
	 *
	 * @param viewName
	 * @return
	 */
	public String getUrl(String viewName) {
		return getPrefix() + viewName + getSuffix();
	}
}
